using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AdverseEventReportSystem.Model
{
    /// <summary>
	/// 
	/// </summary>
	[Serializable]
	public partial class AdverseEvent {
		public AdverseEvent() { }
        
        private int _ID;
	    /// <summary>
	    /// 
	    /// </summary>
		public int ID {
			set { _ID = value; }
			get { return _ID; }
		}

        private int _EventTypeID;
	    /// <summary>
	    /// 事件类型ID
	    /// </summary>
		public int EventTypeID {
			set { _EventTypeID = value; }
			get { return _EventTypeID; }
		}

        private string _EventTypeName;
	    /// <summary>
	    /// 事件类型名称
	    /// </summary>
		public string EventTypeName {
			set { _EventTypeName = value; }
			get { return _EventTypeName; }
		}

        private string _AreaID;
	    /// <summary>
	    /// 患者所属病区编号
	    /// </summary>
		public string AreaID {
			set { _AreaID = value; }
			get { return _AreaID; }
		}

        private string _AreaName;
	    /// <summary>
	    /// 患者所属病区名称
	    /// </summary>
		public string AreaName {
			set { _AreaName = value; }
			get { return _AreaName; }
		}

        private string _PatientID;
	    /// <summary>
	    /// 患者编号
	    /// </summary>
		public string PatientID {
			set { _PatientID = value; }
			get { return _PatientID; }
		}

        private string _PatientName;
	    /// <summary>
	    /// 患者姓名
	    /// </summary>
		public string PatientName {
			set { _PatientName = value; }
			get { return _PatientName; }
		}

        private string _PatientSex;
	    /// <summary>
	    /// 患者性别
	    /// </summary>
        public string PatientSex
        {
			set { _PatientSex = value; }
			get { return _PatientSex; }
		}

        private int _PatientAge;
	    /// <summary>
	    /// 患者年龄
	    /// </summary>
		public int PatientAge {
			set { _PatientAge = value; }
			get { return _PatientAge; }
		}

        private int _PatientAgeMonth;
	    /// <summary>
	    /// 患者年龄几岁又几月的月数
	    /// </summary>
        public int PatientAgeMonth
        {
            set { _PatientAgeMonth = value; }
            get { return _PatientAgeMonth; }
		}

        private int _PatientAgeWeek;
	    /// <summary>
	    /// 患者年龄几岁又几周的周数
	    /// </summary>
		public int PatientAgeWeek {
			set { _PatientAgeWeek = value; }
			get { return _PatientAgeWeek; }
		}

        private int _PatientAgeDay;
	    /// <summary>
	    /// 患者年龄几岁又几天的天数
	    /// </summary>
		public int PatientAgeDay {
			set { _PatientAgeDay = value; }
			get { return _PatientAgeDay; }
		}

        private string _PatientNursingGrade;
	    /// <summary>
	    /// 护理等级
	    /// </summary>
		public string PatientNursingGrade {
			set { _PatientNursingGrade = value; }
			get { return _PatientNursingGrade; }
		}

        private int _PatientIsEscort;
	    /// <summary>
	    /// 陪护情况 0：无 1：有
	    /// </summary>
		public int PatientIsEscort {
			set { _PatientIsEscort = value; }
			get { return _PatientIsEscort; }
		}

        private string _PatientEscortValue;
	    /// <summary>
	    /// 有陪护情况的时候,选择多个用#隔开
	    /// </summary>
		public string PatientEscortValue {
			set { _PatientEscortValue = value; }
			get { return _PatientEscortValue; }
		}

        private string _PatientDiagnosis;
	    /// <summary>
	    /// 患者诊断
	    /// </summary>
		public string PatientDiagnosis {
			set { _PatientDiagnosis = value; }
			get { return _PatientDiagnosis; }
		}

        private DateTime? _PatientInTime;
	    /// <summary>
	    /// 入院时间
	    /// </summary>
		public DateTime? PatientInTime {
			set { _PatientInTime = value; }
			get { return _PatientInTime; }
		}

        private string _PatientBedNo;
	    /// <summary>
	    /// 患者床号
	    /// </summary>
        public string PatientBedNo
        {
            set { _PatientBedNo = value; }
            get { return _PatientBedNo; }
		}

        private int _PatientVisitID;
        /// <summary>
        /// 住院次数
        /// </summary>
        public int PatientVisitID
        {
            set { _PatientVisitID = value; }
            get { return _PatientVisitID; }
        }

        private int _IsTransfer;
        /// <summary>
        /// 是否转科 0：无 1：有
        /// </summary>
        public int IsTransfer
        {
            set { _IsTransfer = value; }
            get { return _IsTransfer; }
        }

        private DateTime? _TransferTime;
        /// <summary>
        /// 转科时间
        /// </summary>
        public DateTime? TransferTime
        {
            set { _TransferTime = value; }
            get { return _TransferTime; }
        }

        private string _TransferDepartCode;
        /// <summary>
        /// 转科病区编码
        /// </summary>
        public string TransferDepartCode
        {
            set { _TransferDepartCode = value; }
            get { return _TransferDepartCode; }
        }

        private string _TransferDepartName;
        /// <summary>
        /// 转科病区名称
        /// </summary>
        public string TransferDepartName
        {
            set { _TransferDepartName = value; }
            get { return _TransferDepartName; }
        }

        private DateTime? _OccurrTime;
	    /// <summary>
	    /// 事件发生时间
	    /// </summary>
		public DateTime? OccurrTime {
			set { _OccurrTime = value; }
			get { return _OccurrTime; }
		}

        private string _NurseID;
	    /// <summary>
	    /// 当事人编号
	    /// </summary>
		public string NurseID {
			set { _NurseID = value; }
			get { return _NurseID; }
		}

        private string _NurseName;
	    /// <summary>
	    /// 当事人名称
	    /// </summary>
		public string NurseName {
			set { _NurseName = value; }
			get { return _NurseName; }
		}

        private string _NurseWorkTimes;
	    /// <summary>
	    /// 当事人上班时间段
	    /// </summary>
        public string NurseWorkTimes
        {
            set { _NurseWorkTimes = value; }
            get { return _NurseWorkTimes; }
		}

        private string _EventGrade;
	    /// <summary>
	    /// 事件等级
	    /// </summary>
		public string EventGrade {
			set { _EventGrade = value; }
			get { return _EventGrade; }
		}

        private string _EventCourse;
	    /// <summary>
	    /// 事件经过
	    /// </summary>
		public string EventCourse {
			set { _EventCourse = value; }
			get { return _EventCourse; }
		}

        private string _Measures;
	    /// <summary>
	    /// 改进措施
	    /// </summary>
		public string Measures {
			set { _Measures = value; }
			get { return _Measures; }
		}

        private string _Evaluation;
	    /// <summary>
	    /// 效果评价
	    /// </summary>
		public string Evaluation {
			set { _Evaluation = value; }
			get { return _Evaluation; }
		}

        private int _Status;
	    /// <summary>
        /// 状态 0:草稿，1:在报，2:已上报，3:上报退回，4:审核通过，5:审核不通过
	    /// </summary>
        public int Status
        {
            set { _Status = value; }
            get { return _Status; }
		}

        private DateTime? _ReviewTime;
	    /// <summary>
	    /// 审核时间
	    /// </summary>
		public DateTime? ReviewTime {
			set { _ReviewTime = value; }
			get { return _ReviewTime; }
		}

        private string _ReviewUserID;
	    /// <summary>
	    /// 审核人编号
	    /// </summary>
		public string ReviewUserID {
			set { _ReviewUserID = value; }
			get { return _ReviewUserID; }
		}

        private string _ReviewReason;
	    /// <summary>
	    /// 审核理由
	    /// </summary>
		public string ReviewReason {
			set { _ReviewReason = value; }
			get { return _ReviewReason; }
		}

        private DateTime? _ReportTime;
	    /// <summary>
	    /// 上报时间
	    /// </summary>
		public DateTime? ReportTime {
			set { _ReportTime = value; }
			get { return _ReportTime; }
		}

        private string _OccurrDepartID;
        /// <summary>
        /// 事件发生部门编号
        /// </summary>
        public string OccurrDepartID{
            set { _OccurrDepartID = value; }
            get { return _OccurrDepartID; }
        }

        private string _OccurrDepartName;
        /// <summary>
        /// 事件发生部门
        /// </summary>
        public string OccurrDepartName
        {
            set { _OccurrDepartName = value; }
            get { return _OccurrDepartName; }
        }

        private string _SkinCondition;
        /// <summary>
        /// 皮肤情况
        /// </summary>
        public string SkinCondition
        {
            set { _SkinCondition = value; }
            get { return _SkinCondition; }
        }

        private string _ExceptionalCase;
        /// <summary>
        /// 特殊情况
        /// </summary>
        public string ExceptionalCase
        {
            set { _ExceptionalCase = value; }
            get { return _ExceptionalCase; }
        }

        private string _DuDaoRemark;
        /// <summary>
        /// 督导记录
        /// </summary>
        public string DuDaoRemark
        {
            set { _DuDaoRemark = value; }
            get { return _DuDaoRemark; }
        }

        private string _YuHou;
        /// <summary>
        /// 预后
        /// </summary>
        public string YuHou
        {
            set { _YuHou = value; }
            get { return _YuHou; }
        }

        private string _ZhuanGui;
        /// <summary>
        /// 转归
        /// </summary>
        public string ZhuanGui
        {
            set { _ZhuanGui = value; }
            get { return _ZhuanGui; }
        }

        private string _Flag_Yc;
        /// <summary>
        /// 是否院外压疮 1：是
        /// </summary>
        public string Flag_Yc
        {
            set { _Flag_Yc = value; }
            get { return _Flag_Yc; }
        }

        private int _FanKuiState;
        /// <summary>
        /// 反馈状态
        /// </summary>
        public int FanKuiState
        {
            set { _FanKuiState = value; }
            get { return _FanKuiState; }
        }

        private string _FanKuiReason;
        /// <summary>
        /// 反馈内容
        /// </summary>
        public string FanKuiReason
        {
            set { _FanKuiReason = value; }
            get { return _FanKuiReason; }
        }

        private int _IsOutpatient;
        /// <summary>
        /// 是否门诊病人 0：否 1：是
        /// </summary>
        public int IsOutpatient
        {
            set { _IsOutpatient = value; }
            get { return _IsOutpatient; }
        }

        private DateTime? _OutpatientTime;
        /// <summary>
        /// 门诊时间
        /// </summary>
        public DateTime? OutpatientTime
        {
            set { _OutpatientTime = value; }
            get { return _OutpatientTime; }
        }

        private string _OutpatientId;
        /// <summary>
        /// 门诊号
        /// </summary>
        public string OutpatientId
        {
            set { _OutpatientId = value; }
            get { return _OutpatientId; }
        }

        private int _DataSource;
        /// <summary>
        /// 数据来源 0：PC端 1：移动端
        /// </summary>
        public int DataSource
        {
            set { _DataSource = value; }
            get { return _DataSource; }
        }

        private string _UpdateUserID;
	    /// <summary>
	    /// 修改人编号
	    /// </summary>
		public string UpdateUserID {
			set { _UpdateUserID = value; }
			get { return _UpdateUserID; }
		}

        private DateTime? _UpdateTime;
	    /// <summary>
	    /// 修改时间
	    /// </summary>
		public DateTime? UpdateTime {
			set { _UpdateTime = value; }
			get { return _UpdateTime; }
		}

        private string _CreateUserID;
	    /// <summary>
	    /// 创建人
	    /// </summary>
		public string CreateUserID {
			set { _CreateUserID = value; }
			get { return _CreateUserID; }
		}

        private DateTime? _CreateTime;
	    /// <summary>
	    /// 创建时间
	    /// </summary>
		public DateTime? CreateTime {
			set { _CreateTime = value; }
			get { return _CreateTime; }
		}

        private string _EventGradeSubLevel;
        /// <summary>
        /// 事件等级损害程度
        /// </summary>
        public string EventGradeSubLevel
        {
            set { _EventGradeSubLevel = value; }
            get { return _EventGradeSubLevel; }
        }

        private string _PatientAgeStr;
        /// <summary>
        /// 患者年龄字符串
        /// </summary>
        public string PatientAgeStr
        {
            set { _PatientAgeStr = value; }
            get { return _PatientAgeStr; }
        }

        private string _HeadNurseID;
        /// <summary>
        /// 护士长ID
        /// </summary>
        public string HeadNurseID
        {
            set { _HeadNurseID = value; }
            get { return _HeadNurseID; }
        }

        private string _HeadNurseName;
        /// <summary>
        /// 护士长姓名
        /// </summary>
        public string HeadNurseName
        {
            set { _HeadNurseName = value; }
            get { return _HeadNurseName; }
        }
	}
}

